package com.ambow;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

/**
*	SpringBoot的启动器
*	@author 
*
*/
@SpringBootApplication 
@ServletComponentScan
@MapperScan("com.ambow.dao")// @MapperScan：作用是用于扫描MyBatis的mapper接口的包
@EnableCaching//启用缓存
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}

